package com.box.service;


import java.util.List;

import com.box.entity.DbRoles;
import com.box.utils.LayuiResult;






public interface RolesService {
	//获取所有角色
		public LayuiResult selRoles(Integer page,Integer limit);
		
		//单个删除
		public LayuiResult delRolesById(Long roleId);
		
		//批量删除
		public LayuiResult delRolesByAll(String roleStr);
		
		public List<DbRoles> selRoles();
		
		public Integer updRole(DbRoles role, String m);
		
		public DbRoles selRoleByRoleName(String roleName);
		
		public Integer insRole(DbRoles role, String m);
}
